package com.yunfeisoft.business.dao.inter;

import com.applet.base.BaseDao;
import com.yunfeisoft.business.model.SmsCoupon;
import com.applet.utils.Page;

import java.util.List;
import java.util.Map;

/**
 * ClassName: SmsCouponDao
 * Description: 优惠卷表Dao
 * Author: Jackie liu
 * Date: 2020-06-02
 */
public interface SmsCouponDao extends BaseDao<SmsCoupon, String> {

    public Page<SmsCoupon> queryPage(Map<String, Object> params);

    List<SmsCoupon> queryListByProductId(String productId);

    List<SmsCoupon> queryListByCategory(String productId);

    List<SmsCoupon> queryListCommon();
}